#pragma once

#include <QLineEdit>
#include <QPushButton>
#include <QListWidget>
#include <QListWidgetItem>
#include "Pacs_ShowCheckPart.h"
#include "DBOperate.h"

class Pacs_MyLineEdit : public QLineEdit
{
	Q_OBJECT

public:
	Pacs_MyLineEdit(QWidget *parent);
	~Pacs_MyLineEdit();
protected slots:
	void  on_Clicked_ShowPartList();
	void setSelectString(QStringList strList);
protected:
	void mouseMoveEvent(QMouseEvent *);
	void mousePressEvent(QMouseEvent *);
private:
	void InitShowWidget();
private:
	QPushButton* m_btnShowCheckPart;
	//QWidget *m_widget;
	QListWidget* m_listWidgetCheckPart;
	QList<QListWidgetItem*>  m_allItem;
	Pacs_ShowCheckPart *m_showPartWidget;
	QList<CheckPart> m_userCheckPart;
// 	QPushButton* m_btnOk;
// 	QPushButton* m_btnCancel;
	
};
